<div class="mt20 clearfix ng-scope ml25">
    <span class="fl lh30 f14">回款信息</span>
    <div class="fr btn-group" ng-if="contractBaseInfo.contract_status == 2 && contractBaseInfo.is_cancelled == 0 && !areaRole">
    </div>
</div>
<div id="grid" class="table-wrap mt10 ml25" style="min-height: 200px;">

    <table width="100%" class="valign-t">
        <thead>
        <tr>
            <th width="35">序号</th>
            <th width="130">实收时间</th>
            <th width="100">实收编号</th>
            <th width="70">实收总额</th>
            <th width="120">收款账号</th>
            <th width="120">收款账户</th>
            <th>付款客户名称</th>
            <th width="100">对应发票</th>
            <th width="100">款项归档时间</th>
            <th width="60">操作</th>
        </tr>
        </thead>
        <tbody>
        <tr ng-repeat="record in receivableInfo.payments">
            <td height="40"><p ng-bind="$index + 1"></p></td>
            <td class="lh14">
                <p ng-bind="record.payment_date|strdate:'yyyy-MM-dd'"></p>
            </td>
            <td>
                <p ng-bind="record.payment_code"></p>
            </td>
            <td>
                <p ng-bind="record.payment_amount|number:2"></p>
            </td>
            <td>
                <p ng-bind="record.receivables_account"></p>
            </td>
            <td>
                <p ng-bind="record.receivables_account_name"></p>
            </td>
            <td>
                <p ng-bind="record.payment_account_name"></p>
            </td>
            <td>
                <p ng-bind="record.billing_invoice_no" style="word-break: break-all"></p>
            </td>
            <td>
                <p ng-bind="record.input_date|strdate:'yyyy-MM-dd'"></p>
            </td>

            <td>
            </td>
        </tr>
        </tbody>
    </table>
    <div class="no-data" ng-if="refunds.length == 0" style="height:180px"><span>暂无数据</span></div>

</div>

<div class="ml25 mt10">
    <span class="pl10">说明：收入金额(<em class="b">{{contractBaseInfo| signOrIncomeAmount |number:2}}</em>元) = 已确定回款(<em
            class="b">{{receivableInfo.payments |sumPaymentAmount|number:2}}</em>元) + 未确定回款(<em class="b c-red">{{ receivableInfo.payments | remainPaymentAmount:contractBaseInfo |number:2}}</em>元)</span>
</div>
